package com.test.smartcampusapi.mapper;

import com.test.smartcampusapi.entity.Card;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CardMapper {
    void createCard(String cardNumber,String cardRegistryDate);
    void updateCardStatus(String cardNumber,String status);
    void updateCredit(String cardNumber,double amount);
    double getCredit(String cardNumber);
    List<Card> getAllCards();
}
